package site.xuxingcan;

import site.xuxingcan.Type.MahjongType;

import java.util.ArrayList;
import java.util.Collections;

public class Main {

    public static void main(String[] args) {
        // write your code here
        ArrayList<MahjongType> mahjongTypeArrayList = new ArrayList<>();
        for (int type = 0; type < 3; type++) {
            for (int i = 1; i <= 9; i++) {
                for (int n = 0; n < 4; n++) {
                    mahjongTypeArrayList.add(new MahjongType(i, type));
                }
            }
        }
        Collections.shuffle(mahjongTypeArrayList);
        System.out.print(mahjongTypeArrayList.size() + "");
    }
}
